<?php
class view_edit extends view {
	
	function __construct($modelname) {
		parent::__construct($modelname, "edit");
	}
	
	function getDetailData() {
		$id = request::get("id");
		return $this->loadModel()->loadById($id);
	}

}
?>